<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            width: 60%;
            height: 200px;
            margin: 0px auto;
            background: #438eb9;
            border:1px solid #c0c0c0;
            margin-top:150px;
        }
        span{
            color:red;
        }
        p{
            margin:10px 20px;
            font-size: 26px;
            font-family: 楷体;
        }
    </style>
</head>
<body>
<div>
    <h2><p align="center">操作提示</p></h2>
    <p>提示 :<{$message}></p>
    <p>系统将在<span id="time"><{$time}></span>秒后自动跳转,如果不想等待,请点击<a href="?c=user&m=index">这里</a>跳转</p>
</div>
<script>
    function playSec(num){
        time.innerHTML = num;
        if(--num >0){
            setTimeout("playSec("+num+")",1000);
        }else{
            //跳转到指定地址
            location.href = "<{$url}>";
        }
    }
    playSec(<{$time}>);
</script>
</body>
</html>